@import './common.styl'
body, html
  width 100%
  height 100%
  transition all 0.2s
  font-size $fontSize
  color $fontColor
  font-family 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif
::-webkit-scrollbar
  width 8px
  height 8px
  display block
::-webkit-scrollbar-thumb
  border-radius 4px
  background RGBA(136, 136, 136, 0.4)
  &:hover
    background RGBA(136, 136, 136, 1)
.contents
  width 100%
  height 100%
  overflow auto
/* 公用类名样式 */
/* 按钮组 */
.text-button
  cursor pointer
  font-size $fontSize-s
  color $buttonBg
  line-height 1
.text-button-b
  cursor pointer
  font-size $fontSize-s
  color $textBtnColor
  line-height 1
.button-w
  cursor pointer
  display inline-block
  font-size $fontSize-s
  line-height 28px
  color $mainColor
  margin 0 20px
  padding 0 20px
  border 1px solid $mainColor
  border-radius 4px
.button-n
  cursor pointer
  display inline-block
  font-size $fontSize-s
  line-height 28px
  color #ffffff
  background $mainColor
  padding 0 20px
  border 1px solid $mainColor
  border-radius 4px
  margin 0 20px
  transition all 0.3s
  &:hover
    opacity 0.8
.button-tip
  display inline-block
  font-size $fontSize
  padding 0 20px
  line-height 24px
  height 24px
  color $mainColor
  border-radius 4px
  border 1px solid $mainColor
  cursor pointer
.button-s
  width 117px
  display inline-block
  cursor pointer
  text-align center
  line-height 40px
  font-size 16px
  color #ffffff
  background $mainColor
  border-radius 4px
  transition all 0.3s
  &:hover
    opacity 0.8
  &:active
    background $mainColor
.button-l
  width 300px
  display inline-block
  cursor pointer
  text-align center
  line-height 40px
  font-size 16px
  color #ffffff
  background $mainColor
  border-radius 4px
  transition all 0.3s
  &:hover
    opacity 0.8
  &:active
    background $mainColor
/* 标题类 */
h2.head
  font-size $h2Size
  color $fontColor
  line-height 1
  text-align center
.fontSize-s
  font-size $fontSize-s
  color $fontColor-gray
/* 输入框类 */
.input-s
  width $width-s
.input-n
  width $width-n
.input-m
  width $width-m
.input-l
  width $width-l
/* 分页 */
.pager
  text-align right
  margin-top 30px
  margin-bottom 40px
/* 图标类 */
